package com.msb.serviceDriverUser.controller;

import com.msb.serviceDriverUser.mapper.DriverUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/23 - 07 - 23 - 15:27
 * @Description: com.msb.serviceDriverUser.controller
 * @version: 1.0
 */
@RestController
public class TestController {


    @Autowired
    DriverUserMapper driverUserMapper ;
    @GetMapping("/test1")
    public int test1(String cityCode){
        int i = driverUserMapper.selectDriverUserCountByCityCode(cityCode);
        return i ;
    }

}
